package com.alibaba.travel.common.constant;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/03/01/15:56
 * @Description:
 */
public class LikesConstant {
    /**
     * topicType : topicId : userId
     * @return
     */
    public static String getKey(String topicType, Long topicId, Long userId) {
        return topicType + ":" + topicId.toString() + ":" + userId.toString();
    }
}
